// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeDBInstancesRequest.h"

namespace aliyun { namespace Rds {

DescribeDBInstancesRequest::DescribeDBInstancesRequest() : RpcAcsRequest("Rds", "2014-08-15", "DescribeDBInstances") {
}

int64 DescribeDBInstancesRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeDBInstancesRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeDBInstancesRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeDBInstancesRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeDBInstancesRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeDBInstancesRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeDBInstancesRequest::GetClientToken(void) const {
  return ClientToken_;
}
void DescribeDBInstancesRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& DescribeDBInstancesRequest::GetproxyId(void) const {
  return proxyId_;
}
void DescribeDBInstancesRequest::SetproxyId(const string& proxyId) {
  proxyId_ = proxyId;
  PutQueryParameter("proxyId", proxyId_);
}

const string& DescribeDBInstancesRequest::GetEngine(void) const {
  return Engine_;
}
void DescribeDBInstancesRequest::SetEngine(const string& Engine) {
  Engine_ = Engine;
  PutQueryParameter("Engine", Engine_);
}

const string& DescribeDBInstancesRequest::GetDBInstanceStatus(void) const {
  return DBInstanceStatus_;
}
void DescribeDBInstancesRequest::SetDBInstanceStatus(const string& DBInstanceStatus) {
  DBInstanceStatus_ = DBInstanceStatus;
  PutQueryParameter("DBInstanceStatus", DBInstanceStatus_);
}

const string& DescribeDBInstancesRequest::GetSearchKey(void) const {
  return SearchKey_;
}
void DescribeDBInstancesRequest::SetSearchKey(const string& SearchKey) {
  SearchKey_ = SearchKey;
  PutQueryParameter("SearchKey", SearchKey_);
}

const string& DescribeDBInstancesRequest::GetDBInstanceId(void) const {
  return DBInstanceId_;
}
void DescribeDBInstancesRequest::SetDBInstanceId(const string& DBInstanceId) {
  DBInstanceId_ = DBInstanceId;
  PutQueryParameter("DBInstanceId", DBInstanceId_);
}

const string& DescribeDBInstancesRequest::GetDBInstanceType(void) const {
  return DBInstanceType_;
}
void DescribeDBInstancesRequest::SetDBInstanceType(const string& DBInstanceType) {
  DBInstanceType_ = DBInstanceType;
  PutQueryParameter("DBInstanceType", DBInstanceType_);
}

int DescribeDBInstancesRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeDBInstancesRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

int DescribeDBInstancesRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeDBInstancesRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 0) {
    return false;
  }
  if(PageNumber > 2147483647) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

const string& DescribeDBInstancesRequest::GetInstanceNetworkType(void) const {
  return InstanceNetworkType_;
}
void DescribeDBInstancesRequest::SetInstanceNetworkType(const string& InstanceNetworkType) {
  InstanceNetworkType_ = InstanceNetworkType;
  PutQueryParameter("InstanceNetworkType", InstanceNetworkType_);
}

const string& DescribeDBInstancesRequest::GetConnectionMode(void) const {
  return ConnectionMode_;
}
void DescribeDBInstancesRequest::SetConnectionMode(const string& ConnectionMode) {
  ConnectionMode_ = ConnectionMode;
  PutQueryParameter("ConnectionMode", ConnectionMode_);
}

const string& DescribeDBInstancesRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeDBInstancesRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Rds {

// end of file 
